var users = [];




addEventListener('message',function(ev) {
    token= ev.data;
    console.log('123456');
    users.push(token);
   console.log(users);
      if(users.length > 0){
          if(users.length == 4){
               $("#kjrk111").html("");
           
              $("#kjrk111").append('<a href="http://home.hunan.gov.cn/grzx/dljmxf?rdfwList=61d6234863954976a886f9119cdfe2cd&id='+users[3]+'&deptId=33112d55d0754cf99822f3a549f495fe&token" target="_blank"><i class="ico-consult"></i>主任信箱</a>');
                    
      }
      }


});